package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.FlightOrder;
import cn.wolfcode.luowowo.common.exception.LogicException;

import java.util.List;

public interface IFlightOrderService {
    public void saveOrder(Long fid,Long uid) throws LogicException;//根据机票id查询机票信息,根据登录用户拿到id保存

    /**
     * 根据用户id获取订单
     * @param id
     * @return
     */
    List<FlightOrder> listById(Long id);
}
